﻿@model MvcAtletIS.Models.DocumentsSubcategories

@{
    ViewBag.Title = "Podkategórie dokumentov";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Zobraziť podkategóriu dokumentov</h2>

<fieldset>
    <legend>Detaily</legend>

    <div class="display-label">
        @Html.LabelFor(model => model.DocumentsCategories.Name)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DocumentsCategories.Name)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Name)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Subfolder)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Subfolder)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Order)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Order)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Important)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Important)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Active)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Active)
    </div>

</fieldset>

<p>
    @Html.ActionLink("Editovať", "Edit", new { id=Model.ID }) |
    @Html.ActionLink("Naspäť na prehľad podkategórii dokumentov", "Index", new { CategoryId = Model.CategoryId})
</p>
